package com.day02.test.main;

public class LogicTest1 {
    public static void main(String[] args){
        boolean x = true;
        boolean y = false;
        short z = 42;
        //if (y == true)
            if ((z ++ == 42) && (y = true)) z++;
            if((x=false)||(++z==45))z++;
            System.out.println("z = "+z) ;
    }
}
